package com.dayaokeji.rhythmschoolstudent.client.home.meeting.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dayaokeji.rhythmschoolstudent.R;
import com.dayaokeji.server_api.domain.MeetingInfo;

/**
 * Created by Gorden on 2017/10/12.
 */

public class ChooseMeetingRoomAdapter extends BaseQuickAdapter<MeetingInfo,BaseViewHolder> {

    public ChooseMeetingRoomAdapter() {
        super(R.layout.item_choose_meeting_room, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, MeetingInfo item) {
        helper.addOnClickListener(R.id.tv_room_name);
        helper.setText(R.id.tv_room_name,item.getName());
    }
}
